package com.alex.tkmybatis.common;


/**
 * 业务异常，非系统异常都应该抛出业务异常
 */
public class BusinessException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private String code;

    public BusinessException() {
    }

    public BusinessException(String message) {
        super(message);
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
